package com.zkjl.protect_business.service;

import com.zkjl.protect_business.entity.NoticeRecord;
import com.zkjl.protect_business.vo.statistic.GroupVO;
import com.zkjl.protect_business.vo.NoticeRecordVO;

import java.util.List;

public interface NoticeRecordService {


    /**
     * 获取单个通知的已读未读统计
     * @param noticeId
     * @return
     */
    List<GroupVO> getGroup(String noticeId);


    /**
     * 获取通知读取状态
     * @param noticeId
     * @param status
     * @return
     */
    Long getReadNum(String noticeId,String status);


    /**
     * 获取文件读取记录
     *
     * @param noticeId
     * @param isRead
     * @return
     */
    List<NoticeRecordVO> list(String noticeId, String isRead);


    /**
     * 确认接收
     * @param noticeId
     * @return
     */
    NoticeRecord confirm(String noticeId);


}
